-
Notifications
You must be signed in to change notification settings - Fork 63
Allow outputting of vertical height in W0 and W2H function spaces #165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
This is ready for Science Review, thanks @jameskent-metoffice |
jameskent-metoffice
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This work adds the ability to output vertical height of W0 and W2H function spaces for gungho_model and lfric_atm. It is a relatively straightforward change, and it has been coded correctly. The file gungho_diagnostics_driver_mod.F90 has been tidied up as well. As all the tests pass, I'm happy this passes science review.
|
Just commenting to say this is ready for code review @MatthewHambley, as I'm not sure exactly what is being picked up by notifications |
MatthewHambley
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor thing to look at, and if you could merge up to head of trunk while you're there it would be appreciated.
| ! A pointer used for retrieving fields from collections | ||
| ! when iterating over them | ||
| class( field_parent_type ), pointer :: field_ptr => null() | ||
| class(field_parent_type), pointer :: field_ptr => null() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After all the work removing => null() from above, no need to preserve it here.
PR Summary
Sci/Tech Reviewer: @jameskent-metoffice
Code Reviewer: @MatthewHambley
This PR adds
height_w0andheight_w2hdiagnostics, which allows the vertical height to be output at W0 and W2H points, if requested (and if #164 is addressed for lfric_atm).I have also taken the opportunity to do a small bit of tidying of
gungho_diagnostics_driver_mod.F90Linked to: MetOffice/lfric_core#229
Code Quality Checklist
Testing
trac.log
Test Suite Results - lfric_apps - heights_more/run4
Suite Information
Task Information
✅ succeeded tasks - 1106
Security Considerations
Performance Impact
AI Assistance and Attribution
Documentation
PSyclone Approval
Sci/Tech Review
(Please alert the code reviewer via a tag when you have approved the SR)
Code Review